﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace BRMC.IntelligentCommunity.Migrations
{
    public partial class update_table3 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            //migrationBuilder.AlterColumn<string>(
            //    name: "Pictname",
            //    table: "Wy_user_evaluate_pict",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<DateTime>(
            //    name: "Finish_time",
            //    table: "Wy_repairs_work_info",
            //    nullable: true,
            //    oldClrType: typeof(DateTime));

            //migrationBuilder.AlterColumn<DateTime>(
            //    name: "Arrive_time",
            //    table: "Wy_repairs_work_info",
            //    nullable: true,
            //    oldClrType: typeof(DateTime));

            //migrationBuilder.AlterColumn<DateTime>(
            //    name: "Accept_time",
            //    table: "Wy_repairs_work_info",
            //    nullable: true,
            //    oldClrType: typeof(DateTime));
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            //migrationBuilder.AlterColumn<int>(
            //    name: "Pictname",
            //    table: "Wy_user_evaluate_pict",
            //    nullable: false,
            //    oldClrType: typeof(string),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<DateTime>(
            //    name: "Finish_time",
            //    table: "Wy_repairs_work_info",
            //    nullable: false,
            //    oldClrType: typeof(DateTime),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<DateTime>(
            //    name: "Arrive_time",
            //    table: "Wy_repairs_work_info",
            //    nullable: false,
            //    oldClrType: typeof(DateTime),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<DateTime>(
            //    name: "Accept_time",
            //    table: "Wy_repairs_work_info",
            //    nullable: false,
            //    oldClrType: typeof(DateTime),
            //    oldNullable: true);
        }
    }
}
